/* This is a template command. */
CmdUtils.CreateCommand({
  name: "1828 webster's dictionary",
  icon: "http://1828.mshaffer.com/images/quote_right.png",
  author: {name: "David Ockey"},
  license: "GPL",
  description: "Searches the 1828 Webster's Dictionary",
  takes: {"input": /.*/},
  preview: function(pblock, input) {
    pblock.innerHTML = "1828 Definition for: <b>" + input.text + "</b>.";
  },
  execute: function(input) {
    Utils.openUrlInBrowser("http://1828.mshaffer.com/d/search/word," + input.text);
  }
});
